Clean code - modx->db->query() cannot return false