Attempted to fix IllegalArgumentException: Removing a detached instance. http://stackoverflow.com/questions/17027398/java-lang-illegalargumentexception-removing-a-detached-instance-com-test-user5