Removed unneccesary if in MLE.