Fixed odd error with my validation