Hotfix bug in AbstractGateway findBy method.