Fixed problem when id is not a Long value
Fixed problem with n-n relationship popup