Added Joomla version check.