Fixed missing check for the new parameters