Fixed error 'Uncaught TypeError: Cannot set property '_remoteAttributes' of undefined' by using regular models with Firebase collections