stop crashing when user doesn't have expected object
Merge pull request #3972 from Alys/reportCountOwnedGear

stop database_reports/count_users_who_own_specified_gear.js crashing when user doesn't have expected object