Remove useless SQL query which messes with in-flight issue state.