Fixed remove method on models with null id