Removed always return TRUE on is_submitted function