Fixed an issue with the add form