Ensured that e is defined before checking for a target.