fix query to include blank status