Added FROM-END keyword to CONTAINS-TASK-P.