Fixed issue with alias only matching posts not other types