Rational expectations (may) lead to complex dynamics in a Muthian cobweb model with heterogeneous agents