Updated log messages.
Added validation to gcmIDs.
Trying to fix duplication bug. Simplified calls.
Fixed search.
Fixed logic again.