Fixed apar when given 0 afuncs.
Fixed apar when given 0 afuncs.

mdittmer/foam,jlhughes/foam,jacksonic/foam,jacksonic/foam,mdittmer/foam,jacksonic/foam,foam-framework/foam,jlhughes/foam,shepheb/foam,shepheb/foam,osric-the-knight/foam,osric-the-knight/foam,osric-the-knight/foam,jlhughes/foam,foam-framework/foam,jacksonic/foam,mdittmer/foam,foam-framework/foam,jlhughes/foam,shepheb/foam,foam-framework/foam,mdittmer/foam,osric-the-knight/foam,foam-framework/foam