Small correction of the error message
Correction to be able to find on object with Enum as id.