(Hopefully) fix the bug that was causing flows to not be found in