Added max warning points based on setting
#1544