3.6.15 Fix

Fixed If Statement Logic To Get Hooks For 3.6.15 Working.