Fixed error where check returned successfully with no aliases