Should be else if (properties.containsKey(TiC.PROPERTY_BIND_ID))