Revert "check if entity is in any group before checking if it is in specific group (was NullPointerException)"

This reverts commit 42855a9cf43751b0571174c4e6dd42e193097a4c.