Some fixes for filtergraph.c (#3)