Added migration checks for missing alias patterns. #1290