Fix const char* property check