recordType filter bug and chatViewController