Fixed the foregin key logic for answers when deleteing question