Fixed $_POST variable conflicts

Ajax loading and normal submit caused an issue. This is now resolved.