[PATCH] Removed redundant profile check which was causing validation to fail