Fixed a bug where the edit urls would be incorrect in the actions if not using clean urls.