Removed unused "?" when building query