delete page query had a bug, this wasn't working