small perfomance improvement, doctrine ->find method is optimized for id queries

The findOneBy method has a performance hit.