fix: properly handle argumentless query methods

Calling with undefined will break Firebase's argument assertions
1.3.1