Made sure that it only executed the right spec if found.