Fix check for objects