Panda Bullet

Hi, im back again with questions regarding with collision mask system:
-is it correct that it is limited to 32 x 32 flags?
-how can i avoid that an agent is hit by his own bullet leaving his gun barrel (if i have more than 32 agents/objects)?