When creating a query using the domain it must be specified the class it belongs to; this might be leading to some errors if not checked as querying with prefix:age and domain:age would not lead to the same result. It would be better to modify it to allow this feature instead of relying to domain:Class_property.