Fix for issue #1: remove roles does not delete the entity item in mongodb