Minor refactoring of get/add requirements function. Fixed requirement coverage logic.