Fixed error on edit and delete links