Summary: I found a bug after migration to Sandy. It is now not possible to add queries to favorites. This diff fixes the issue. Reviewed By: mweststrate Differential Revision: D28066435 fbshipit-source-id: 129a62dab9521160f8957abba70e5c7a6e609839