MIFOSX-720 adding whitespace to query