Fixes #1897 Unneeded query within usercp.php