Reversed OR, AND login in indexedDB